package wiki.hitime.stl.daq.bean.dto.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.RequiredArgsConstructor;
import wiki.hitime.stl.daq.bean.dto.manage.DbDetailConfigDTO;
import wiki.hitime.stl.daq.bean.dto.manage.DbTypeConfigDTO;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zhangdaoping
 * @create 2020-01-09 11:45
 */
@Data
@Builder
@AllArgsConstructor
@RequiredArgsConstructor
public class DbDetailConfigAddReqDTO {

    /**
     * 数据库详细配置
     */
    @NotEmpty(message = "数据库详细配置为空")
    private List<DbDetailConfigDTO> dbDetailConfigDTOList;
}
